Visual Indicator and Software Metric Formula to Determine Class Cohesion Problem and Software Design Quality

نویسنده

  • Djon Irwanto
چکیده

Classes is the basic unit in object oriented software, therefore their quality has significant impact on the overall quality of the software. Class cohesion is one of the important factors that determine whether the design quality of a software is good or bad. In software development it is essential for software developers to gauge the degree of cohesion; yet in software development practice, it is rarely found software developers who are concerned with class cohesion and design quality. The lack of concerns resulted in their assembled software being difficult to maintain, understood and reused. Although these days there are many literatures discussing software metric as a tool to calculate the degree of cohesion, in reality the tool is rarely used. To seek an answer why these developers are reluctant to employ these metrics, a survey to several software developers was conducted. The result of the survey reveals that the developers prefer for an easier and more practical measurement. The use of a complicated and less practical measuring method makes the developers unwilling to gauge their design. Through this paper, the researcher is trying to formulate a more practical software metric and visual indicator that are easier to use. By applying visual indicator, the classes that have bad cohesion are able to be detected visually as well as able to map the risk of design outcome from metric gauging. It is hoped that visual indicator and software metric are able to be complementary tools for design software and refactoring; able to detect class cohesion problems fast and pinpoint area refactoring location. Key-Words: Class Cohesion, Object-Oriented Software Quality, Visual Indicator, Software Metric, Refactoring

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An object-oriented high-level design-based class cohesion metric

Context: Class cohesion is an important object-oriented software quality attribute. Assessing class cohesion during the object-oriented design phase is one important way to obtain more comprehensible and maintainable software. In practice, assessing and controlling cohesion in large systems implies measuring it automatically. One issue with the few existing cohesion metrics targeted at the high...

متن کامل

A Design-Based Cohesion Metric for Object-Oriented Classes

Class cohesion is an important object-oriented software quality attribute. It indicates how much the members in a class are related. Assessing the class cohesion and improving the class quality accordingly during the object-oriented design phase allows for cheaper management of the later phases. In this paper, the notion of distance between pairs of methods and pairs of attribute types in a cla...

متن کامل

A Design-Based Cohesion Metric for Object-Oriented Classes

Class cohesion is an important object-oriented software quality attribute. It indicates how much the members in a class are related. Assessing the class cohesion and improving the class quality accordingly during the object-oriented design phase allows for cheaper management of the later phases. In this paper, the notion of distance between pairs of methods and pairs of attribute types in a cla...

متن کامل

An Empirical Investigation of the Correlation between Package-Level Cohesion and Maintenance Effort

The quality of the software design has a considerable impact on software maintainability. Improving software quality can reduce costs and efforts of software maintenance. Cohesion, as one of software quality characteristics, can be used as an early indicator for predicting software maintenance efforts. This paper improves Martin’s cohesion metric, which is one of the well-known and wellaccepted...

متن کامل

Comparison of High Level Design Based Class Cohesion Metrics

Class cohesion is an object-oriented software quality attribute and refers to the extent to which the members of a class are related. It is one of the fundamental measures of the goodness of a software design. Software developers use class cohesion measures to assess the quality of their products and to guide the restructuring of poorly developed software. To obtain a more comprehensive and mai...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011